package com.lianzhihui.romeex.config;


import com.lianzhihui.romeex.bean.WalletMainBean;

import java.util.ArrayList;
import java.util.List;

/**
 * Copyright (C), 2019-2019, wase_five
 * FileName: Constants
 * Author: echo
 * Date: 2019/11/13 14:49
 * Description: 这里配置常量
 * History:
 * <author> <time> <version> <desc>
 * 作者姓名 修改时间 版本号 描述
 */
public class AppConstants {

    public static final long BASE_ZERO = 100000000;
    public static final String APP_T = "";
    public static final String LANGUAGE_KEY = "language";
    public static final String KEY_BIOMETRIC_SWITCH_ENABLE = "key_biometric_switch_enable";
    public static final String APP_ANDROID_ID = "APPID_MOCK";//模拟应用标识
    public static final int ME_REQUEST_CODE_SCAN = 0x0001;
    public static final int MAIN_REQUEST_CODE_SCAN = 0x0002;
    //友盟
    public static final String YOUMENG_APPKEY = "5f4a0fb012981d3ca30a6ac7";
    public static final String YOUMENG_CANCEL = "okToken_android";
    //Bugly
    public static final String BUGLY_APP_ID = "2dbd2c434a";
    //货币(美元，人民币)
    public static final String CURRENCY_TYPE_KEY = "currency_type";
    public static final String USD = "USD";
    public static final String CNY = "CNY";
    public static final String ITEM_INDEX = "itemIndex";
    public static final String ITEM_OBJ = "itemObj";
    public static final String ADDRESSINFO = "addressInfo";
    public static final String INTENT_INVITATION_CODE = "invitation_code";
    public static final String EXCHANGEUID = "exchangeUid";
    public static final String LANGUAGE_TYPE = "language_type";
    public static final String RECORD_DETAILS_KEY = "record_details_key";
    public static final String SCAN_ADDRESS = "scan_address";
    public static final String USER_OPENSTATUS = "user_openstatus";
    public static final String RESPK = "resPk";
    public static final String USERLEVEL = "user_level";
    public static final String TEAM_BEAN = "team_bean";
    public static final String INTENT_EXCHANGE_BALANCE = "intent_exchange_balance";
    public static final String INTENT_EXCHANGE_DETAILS = "intent_exchange_details";
    public static final String INTENT_MINGS = "intent_mings";
    public static final String INTENT_INV_RULE = "intent_inv_rule";
    public static final String INTENT_INV_ECOLOGICAL = "intent_inv_ecological";

    public static class AppStatus {
        public static final int STATUS_RECYCLE = -1; //被回收
        public static final int STATUS_NORMAL = 1;    //正常
        public static final int TEST = 1001;
        public static final int CHECK = 1002;
        public static final int RELEASE = 1003;
        public static final long DELAY_MILLIS = 2 * 1000;
    }


    /**
     * Preference key配置
     */
    public static class Share {
        public static final String AUTHORIZATION = "AUTHORIZATION";
    }


    /**
     * EventBus key配置
     */
    public static class Event {

        public static final int UPDATE_TOKEN = 10001;
        public static final int REFRUSH_WALLET = 10002;
        public static final int UPDATE_VERSION = 10003;
        public static final int LANGUAGECHANGE = 10004;
        public static final int REFRESHER_ASSETS = 10005;
        public static final int REFRESHER_COIN = 10006;
        public static final int END_REFRESH_FLOWCELL = 10007;
        public static final int REFRESH_PLEDGE = 10008;
    }

    /**
     * Preference key配置
     */
    public static class Net {
    }

    public static class Intent {
        public static int SCAN = 1101;
        public static int ADDRESS = 1102;
    }

    public static class System {

        public static List<WalletMainBean.CoinBean> coins = new ArrayList<>(3);

    }


}
